/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;

public class TelaMenuPrincipal extends JFrame {

    /**
     * Creates new form telaMenuPrincipal
     */

    public TelaMenuPrincipal() {

        initComponents();


    }


    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        lbNPac = new javax.swing.JLabel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu3 = new javax.swing.JMenu();
        jMenuItem3 = new javax.swing.JMenuItem();
        jMenu1 = new javax.swing.JMenu();
        jCadPaciente = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        jShowPacientes = new javax.swing.JMenuItem();
        jMenu5 = new javax.swing.JMenu();
        menuGraficoIMC = new javax.swing.JMenuItem();
        menuGraficoIAC = new javax.swing.JMenuItem();
        menuGraficoRCQ = new javax.swing.JMenuItem();
        menuGraficoCC = new javax.swing.JMenuItem();
        jMenu4 = new javax.swing.JMenu();
        ConfigLog = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Menu Principal");
        setBackground(new java.awt.Color(255, 255, 255));
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        addWindowFocusListener(new java.awt.event.WindowFocusListener() {
            public void windowGainedFocus(java.awt.event.WindowEvent evt) {
                formWindowGainedFocus(evt);
            }
            public void windowLostFocus(java.awt.event.WindowEvent evt) {
            }
        });

        jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        jLabel1.setText("Total de Pacientes Cadastrados:");

        lbNPac.setText("N_PAC");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 179, Short.MAX_VALUE)
                .addComponent(lbNPac)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(jLabel1)
                .addComponent(lbNPac))
        );

        jMenu3.setText("Arquivo");

        jMenuItem3.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_F4, java.awt.event.InputEvent.ALT_MASK));
        jMenuItem3.setText("Sair");
        jMenuItem3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuItem3ActionPerformed(evt);
            }
        });
        jMenu3.add(jMenuItem3);

        jMenuBar1.add(jMenu3);

        jMenu1.setText("Cadastrar");
        jMenu1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jMenu1MouseClicked(evt);
            }
        });
        jMenu1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenu1ActionPerformed(evt);
            }
        });

        jCadPaciente.setText("Paciente");
        jCadPaciente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCadPacienteActionPerformed(evt);
            }
        });
        jMenu1.add(jCadPaciente);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Exibir");
        jMenu2.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jMenu2MouseClicked(evt);
            }
        });
        jMenu2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenu2ActionPerformed(evt);
            }
        });

        jShowPacientes.setText("Pacientes");
        jShowPacientes.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jShowPacientesActionPerformed(evt);
            }
        });
        jMenu2.add(jShowPacientes);

        jMenuBar1.add(jMenu2);

        jMenu5.setText("Gráficos");

        menuGraficoIMC.setText("Gráfico IMC");
        menuGraficoIMC.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                menuGraficoIMCMouseClicked(evt);
            }
        });
        menuGraficoIMC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menuGraficoIMCActionPerformed(evt);
            }
        });
        jMenu5.add(menuGraficoIMC);

        menuGraficoIAC.setText("Gráfico IAC");
        menuGraficoIAC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menuGraficoIACActionPerformed(evt);
            }
        });
        jMenu5.add(menuGraficoIAC);

        menuGraficoRCQ.setText("Gráfico RCQ");
        menuGraficoRCQ.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menuGraficoRCQActionPerformed(evt);
            }
        });
        jMenu5.add(menuGraficoRCQ);

        menuGraficoCC.setText("Gráfico CC");
        menuGraficoCC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                menuGraficoCCActionPerformed(evt);
            }
        });
        jMenu5.add(menuGraficoCC);

        jMenuBar1.add(jMenu5);

        jMenu4.setText("Conf. de Log");

        ConfigLog.setText("Configurar Log");
        ConfigLog.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ConfigLogActionPerformed(evt);
            }
        });
        jMenu4.add(ConfigLog);

        jMenuBar1.add(jMenu4);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(252, Short.MAX_VALUE)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jShowPacientesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jShowPacientesActionPerformed
       
    }//GEN-LAST:event_jShowPacientesActionPerformed

    public JMenuItem getjCadPaciente() {
        return jCadPaciente;
    }

    public void setjCadPaciente(JMenuItem jCadPaciente) {
        this.jCadPaciente = jCadPaciente;
    }

    public JLabel getjLabel1() {
        return jLabel1;
    }

    public void setjLabel1(JLabel jLabel1) {
        this.jLabel1 = jLabel1;
    }

    public JMenu getjMenu1() {
        return jMenu1;
    }

    public void setjMenu1(JMenu jMenu1) {
        this.jMenu1 = jMenu1;
    }

    public JMenu getjMenu2() {
        return jMenu2;
    }

    public void setjMenu2(JMenu jMenu2) {
        this.jMenu2 = jMenu2;
    }

    public JMenu getjMenu3() {
        return jMenu3;
    }

    public void setjMenu3(JMenu jMenu3) {
        this.jMenu3 = jMenu3;
    }

    public JMenu getjMenu4() {
        return jMenu4;
    }

    public void setjMenu4(JMenu jMenu4) {
        this.jMenu4 = jMenu4;
    }

    public JMenu getjMenu5() {
        return jMenu5;
    }

    public void setjMenu5(JMenu jMenu5) {
        this.jMenu5 = jMenu5;
    }

    public JMenuBar getjMenuBar1() {
        return jMenuBar1;
    }

    public void setjMenuBar1(JMenuBar jMenuBar1) {
        this.jMenuBar1 = jMenuBar1;
    }

    public JMenuItem getConfigLog() {
        return ConfigLog;
    }

    public void setConfigLog(JMenuItem ConfigLog) {
        this.ConfigLog = ConfigLog;
    }

    public JMenuItem getjMenuItem3() {
        return jMenuItem3;
    }

    public void setjMenuItem3(JMenuItem jMenuItem3) {
        this.jMenuItem3 = jMenuItem3;
    }

    public JPanel getjPanel1() {
        return jPanel1;
    }

    public void setjPanel1(JPanel jPanel1) {
        this.jPanel1 = jPanel1;
    }

    public JMenuItem getjShowPacientes() {
        return jShowPacientes;
    }

    public void setjShowPacientes(JMenuItem jShowPacientes) {
        this.jShowPacientes = jShowPacientes;
    }

    public JMenuItem getMenuGraficoCC() {
        return menuGraficoCC;
    }

    public void setMenuGraficoCC(JMenuItem menuGraficoCC) {
        this.menuGraficoCC = menuGraficoCC;
    }

    public JMenuItem getMenuGraficoIAC() {
        return menuGraficoIAC;
    }

    public void setMenuGraficoIAC(JMenuItem menuGraficoIAC) {
        this.menuGraficoIAC = menuGraficoIAC;
    }

    public JMenuItem getMenuGraficoIMC() {
        return menuGraficoIMC;
    }

    public void setMenuGraficoIMC(JMenuItem menuGraficoIMC) {
        this.menuGraficoIMC = menuGraficoIMC;
    }

    public JMenuItem getMenuGraficoRCQ() {
        return menuGraficoRCQ;
    }

    public void setMenuGraficoRCQ(JMenuItem menuGraficoRCQ) {
        this.menuGraficoRCQ = menuGraficoRCQ;
    }

    public JLabel getLbNPac() {
        return lbNPac;
    }

    public void setLbNPac(JLabel lbNPac) {
        this.lbNPac = lbNPac;
    }


    private void jMenuItem3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem3ActionPerformed


    }//GEN-LAST:event_jMenuItem3ActionPerformed

    private void jCadPacienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCadPacienteActionPerformed


    }//GEN-LAST:event_jCadPacienteActionPerformed

    private void ConfigLogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ConfigLogActionPerformed


    }//GEN-LAST:event_ConfigLogActionPerformed

    private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu1ActionPerformed

    }//GEN-LAST:event_jMenu1ActionPerformed

    private void jMenu2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenu2ActionPerformed

    }//GEN-LAST:event_jMenu2ActionPerformed

    private void jMenu1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jMenu1MouseClicked

    }//GEN-LAST:event_jMenu1MouseClicked

    private void jMenu2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jMenu2MouseClicked

    }//GEN-LAST:event_jMenu2MouseClicked

    private void formWindowGainedFocus(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowGainedFocus

    }//GEN-LAST:event_formWindowGainedFocus

    private void menuGraficoIMCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuGraficoIMCActionPerformed


    }//GEN-LAST:event_menuGraficoIMCActionPerformed

    private void menuGraficoIACActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuGraficoIACActionPerformed


    }//GEN-LAST:event_menuGraficoIACActionPerformed

    private void menuGraficoRCQActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuGraficoRCQActionPerformed


    }//GEN-LAST:event_menuGraficoRCQActionPerformed

    private void menuGraficoCCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuGraficoCCActionPerformed


    }//GEN-LAST:event_menuGraficoCCActionPerformed

    private void menuGraficoIMCMouseClicked(java.awt.event.MouseEvent evt)//GEN-FIRST:event_menuGraficoIMCMouseClicked
    {//GEN-HEADEREND:event_menuGraficoIMCMouseClicked

    }//GEN-LAST:event_menuGraficoIMCMouseClicked

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenuItem ConfigLog;
    private javax.swing.JMenuItem jCadPaciente;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenu jMenu4;
    private javax.swing.JMenu jMenu5;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JMenuItem jShowPacientes;
    private javax.swing.JLabel lbNPac;
    private javax.swing.JMenuItem menuGraficoCC;
    private javax.swing.JMenuItem menuGraficoIAC;
    private javax.swing.JMenuItem menuGraficoIMC;
    private javax.swing.JMenuItem menuGraficoRCQ;
    // End of variables declaration//GEN-END:variables

}
